﻿@model Evento.Models.Event

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Event</legend>

    <div class="display-label">Name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">Start Time</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TimeFrame.StartTime)
    </div>

    <div class="display-label">End Time</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TimeFrame.EndTime)
    </div>

    <div class="display-label">Place Guid</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PlaceGuid)
    </div>

    <div class="display-label">Link</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Link)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.ID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
